//
//	GXBrandlist.m
//
//	Create by 曹 曹 on 10/8/2016
//	Copyright © 2016. All rights reserved.
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport



#import "GXBrandlist.h"
#import "GXList.h"

@interface GXBrandlist ()
@end
@implementation GXBrandlist


- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forUndefinedKey:key];
    if ([key isEqualToString:@"list"]) {
        NSMutableArray<GXList *> *listArray = [NSMutableArray array];
        for (NSDictionary *dictionary in value) {
            GXList *list = [GXList modelWithDictionary:dictionary];
            [listArray addObject:list];
        }
        _list = listArray;
    }
}
+ (NSDictionary *)objectClassInArray{
    return @{@"brandlist" : [GXBrandlist class]};
}


@end
